package com.mc.model;

public class SubMenu {
    private Integer id;

    private String name;

    private Menu parentMenu;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

   
	public Menu getParentMenu() {
		return parentMenu;
	}

	public void setParentMenu(Menu parentMenu) {
		this.parentMenu = parentMenu;
	}

	@Override
	public String toString() {
		return "SubMenu [id=" + id + ", name=" + name + ", parentMenu="
				+ parentMenu + "]";
	}
    
    
}